dom.resizeSelectionBy()

Availability 3.0
Description Resizes the currently selected layer or hotspot.
Arguments left, top, bottom, right
The first argument is the new position of the left boundary of the layer or hotspot.
The second argument is the new position of the top boundary of the layer or hotspot.
The third argument is the new position of the bottom boundary of the layer or hotspot.
The fourth argument is the new position of the right boundary of the layer or hotspot.
Returns Nothing.
Enabler None.
Example If the selected layer has the Left, Top, Width, and Height properties shown, calling dw.getDocumentDOM().resizeSelectionBy(-10,-30,30,10) would be equivalent to resetting Left to 40, Top to 20, Width to 240, and Height to 240.